package com.yanhua.transaction.common.dto;

import com.yanhua.transaction.common.util.TransactionConst;
import lombok.*;

/**
 * 事务组对象
 *
 * @author zero
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TransactionGroupDto {
    //分布式事务组编号
    private String groupId;
    //分布式事务编号
    private String transactionId;
    //分布式事务状态
    private TransactionConst.TransactionState state;
    //分布式事务执行的操作
    private TransactionConst.TransactionCommand command;
    //事务类型
    private TransactionConst.TransactionType transactionType;
    //参与事务的服务数量
    private Integer transactionCount;

    private String remarks;
}
